namespace TSL.BLL
{
    using System;
    using System.Data;
    using TSL.DAL;
    using TSL.Model;

    public class GetOpenCodes
    {
        private readonly TSL.DAL.GetOpenCodes dal = new TSL.DAL.GetOpenCodes();

        public DataSet GetListFromView(string strWhere)
        {
            return this.dal.GetListFromView(strWhere);
        }

        public DataSet GetListFromViewLast(string strWhere)
        {
            return this.dal.GetListFromViewLast(strWhere);
        }

        public DataSet GetListGetHis(string strWhere)
        {
            return this.dal.GetListGetHis(strWhere);
        }

        public GetOpenCode GetModel(string ID)
        {
            return this.dal.GetModel(ID);
        }

        public GetOpenCodeBuySSCID GetModelBySSCID(string ID)
        {
            return this.dal.GetModelBySSCID(ID);
        }

        public DataSet GetWinner(string strWhere)
        {
            return this.dal.GetWinner(strWhere);
        }

        public DataSet GetWinnerList(string parmer, string strWhere)
        {
            return this.dal.GetWinnerList(parmer, strWhere);
        }
    }
}

